<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%@ taglib uri="/WEB-INF/tld/orderStatus.tld" prefix="os" %>
<%@ taglib uri="/WEB-INF/tld/fmt.tld" prefix="fmt" %>
<table class="mytable" style="width: 100%" cellpadding="0" cellspacing="0">
	<tr><th colspan="2">订单信息</th></tr>
	<tr><td class="left" style="width: 100px">订单编号</td><td>${item.cabinNo}</td></tr>
	<tr><td class="left">升舱时间</td><td><fmt:formatDate value="${item.departTime}" pattern="yyyy年MM月dd日 HH:mm"/></td></tr>
	<tr><td class="left">升舱航班</td><td>${item.flightNo}</td></tr>
	<tr><td class="left">舱位</td><td>${item.cabin}</td></tr>
	<tr><td class="left">支付差额</td><td><fmt:formatNumber value="${item.payAmount}" pattern="￥0.00" /></td></tr>
	<tr><td class="left">订单状态</td><td><os:riseCabinState state="${item.orderStatus}"/></td></tr>
	<tr><td class="left">创建时间</td><td><fmt:formatDate value="${item.createTime}" pattern="yyyy年MM月dd日 HH:mm"/></td></tr>
	<s:if test="#request.item.payTime!=null">
		<tr><td class="left">支付时间</td><td style="color: green;"><fmt:formatDate value="${item.payTime}" pattern="yyyy年MM月dd日 HH:mm"/></td></tr>
	</s:if>
	<s:if test="#request.item.successTime!=null">
		<tr><td class="left">升舱成功时间</td><td style="color: green;"><fmt:formatDate value="${item.successTime}" pattern="yyyy年MM月dd日 HH:mm"/></td></tr>
	</s:if>
	<s:if test="#request.item.failTime!=null">
		<tr><td class="left">升舱失败时间</td><td style="color: red;"><fmt:formatDate value="${item.failTime}" pattern="yyyy年MM月dd日 HH:mm"/></td></tr>
	</s:if>
	<s:if test="#request.item.orderInfoRemark!=null && #request.item.orderInfoRemark!=''">
		<tr><td class="left">备注</td><td style="color: red;">${item.orderInfoRemark }</td></tr>
	</s:if>
	<!--<s:if test="#request.payUrl!=null">
	<tr><td class="left" colspan="2" align="center">	
		<a href="${payUrl}" target="_blank">支付宝支付</a>
		</td></tr>
	</s:if>-->
</table>
<script type="text/dialog">
var api = this; 
api.title('系统提示').lock();
</script>